package com.example.wan1.di;

import com.example.wan1.base.activity.SimpleActivity;

import androidx.appcompat.app.AppCompatActivity;
import dagger.Binds;
import dagger.Module;

@Module
public abstract class ActModule {

    @Binds
    abstract public AppCompatActivity a(SimpleActivity activity);
}

/*@Module
public class ActModule {

    @Provides
    public SimpleActivity activity() {
        return new SimpleActivity() {
            @Override
            protected int initLayoutId() {
                return 0;
            }

            @Override
            protected void initData() {

            }

            @Override
            protected void initView() {

            }
        };
    }
}*/
